{include file="header.html"}
<div id="rightTop">
    <p>热门关注</p>
    <ul class="subnav">
        <li><span>{$lang.manage}</span></li>
        <li><a class="btn1" href="index.php?app=hotkeyword&amp;act=add">{$lang.add}</a></li>
    </ul>
</div>
<div class="mrightTop">
    <div class="fontl">
        <form method="get">
            <div class="left">
                <input type="hidden" name="app" value="hotkeyword" />
                <input type="hidden" name="act" value="index" />
                热门关注词:
                <input class="queryInput" type="text" name="search_name" value="{$query.search_name|escape}" />
                推荐类型:
				<select class="querySelect" name="recom_id">
                    {html_options options=$recom_list selected=$query.recom_id}
                </select>
                <input type="submit" class="formbtn" value="{$lang.query}" />
            </div>
            <!--{if $filtered}-->
            <a class="left formbtn1" href="index.php?app=hotkeyword">{$lang.cancel_query}</a>
            <!--{/if}-->
        </form>
    </div>
    <div class="fontr">
        {include file=page.top.html}
    </div>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $hotkeyword}-->
        <tr class="tatr1">
            <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
            <td>热门关注词</td>
			<td>推荐类型</td>
            <td>链接</td>
            <td class="table-center">{$lang.sort_order}</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$hotkeyword item=item}-->
        <tr class="tatr2">
            <td class="firstCell"><input type="checkbox" class="checkitem" value="{$item.keyword_id}" /></td>
            <td><span ectype="inline_edit" fieldname="keyword_name" fieldid="{$item.keyword_id}" required="1" class="node_name editable">{$item.keyword_name|escape}</span></td>
            <td>{$recom_list.$item.recom_id}</td> 
            <td>{$item.link|escape}</td>
            <td class="table-center"><span ectype="inline_edit" fieldname="sort_order" fieldid="{$item.keyword_id}" datatype="pint" maxvalue="255" class="editable" title="{$lang.editable}">{$item.sort_order}</span></td>
            <td class="handler">
            <a href="index.php?app=hotkeyword&amp;act=edit&amp;id={$item.keyword_id}">{$lang.edit}</a>
                |
                <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=hotkeyword&amp;act=drop&amp;id={$item.keyword_id}');">{$lang.drop}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="6">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $hotkeyword}-->
    <div id="dataFuncs">
        <div id="batchAction" class="left paddingT15">&nbsp;&nbsp;
            <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=hotkeyword&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
            &nbsp;&nbsp;
           <!-- <input class="formbtn batchButton" type="button" value="lang.update_order" name="id" presubmit="updateOrder(this);" />-->
        </div>
        <div class="pageLinks">
            {include file=page.bottom.html}
        </div>
        <div class="clear"></div>
    </div>
    <!--{/if}-->
</div>
{include file="footer.html"}
